﻿@model ArchiveViewModel
@{
    var archiveList = Model.ArchiveList;
    var classify = Model.Classify;
 
}
<div class="news">
    <div class="top1">
    </div>
    <div class="title">
        <strong>@classify.Title</strong>
    </div>
    <div class="content">
        <ul>
            @{
                for (int i = 0; i < Model.PageSize; i++)
                {
                    if (i < archiveList.Count)
                    {
                        var item = archiveList[i];
                <li>@Html.ActionLink(item.Title, "Article", "Archive", new { tagName = ChineseCharHelper.ConvertToPinYin(item.ETag, "-") }, null)</li>
                    }
                    else
                    {
                <li>&nbsp;</li>
                    }
                }
            }
        </ul>
        <div class="overFlowHidden" style="margin: 5px 5px 0 0;">
            <span class="floatRight">@Html.ActionLink("【更多...】", "Index", "Archive", new { eTag = ChineseCharHelper.ConvertToPinYin(classify.ETag) }, null)</span></div>
    </div>
    <div class="bottom">
    </div>
</div>
